package com.woniuxy.mapper;

import com.woniuxy.entity.ImgType;
import com.woniuxy.entity.ImgTypeExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;


/*
@author Jan
@create 2020-05-20 19:00

*/

public interface ImgTypeMapper {
    long countByExample(ImgTypeExample example);

    int deleteByExample(ImgTypeExample example);

    int deleteByPrimaryKey(Integer typeId);

    int insert(ImgType record);

    int insertSelective(ImgType record);

    List<ImgType> selectByExample(ImgTypeExample example);

    ImgType selectByPrimaryKey(Integer typeId);

    int updateByExampleSelective(@Param("record") ImgType record, @Param("example") ImgTypeExample example);

    int updateByExample(@Param("record") ImgType record, @Param("example") ImgTypeExample example);

    int updateByPrimaryKeySelective(ImgType record);

    int updateByPrimaryKey(ImgType record);
}